package com.clouddot.baipai.infrastructure.environment.initial;

import com.clouddot.baipai.infrastructure.environment.Environment;
import com.clouddot.baipai.ui.util.dbHelper.SharedPreferencesHelper;

/**
 * Created by wxy on 2018/4/9.
 */

public class InitialSaveDataHelper extends InitialBase {
    private Environment Environment;

    public InitialSaveDataHelper(Environment Environment) {
        super(Environment);
        this.Environment = Environment;
    }

    @Override
    public String getName() {
        return "初始化SQLite操作类";
    }

    @Override
    public void initial() throws Exception {
        super.initial();
        Environment.helper = new SharedPreferencesHelper(Environment.context);
    }

    @Override
    public void reinitial() throws Exception {
        super.reinitial();

    }
}
